import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { HomeComponent } from '../home/home.component';
import { AppRoutes } from './app.routing';
import { RouterModule } from '@angular/router';
import { ProductComponent } from '../components/product/product.component';
import { SearchComponent } from '../search/search.component';

@NgModule({
   imports: [
      BrowserModule,
      CommonModule,
      AppRoutes,
      RouterModule
   ],
   bootstrap: [
      AppComponent
   ],
   declarations: [
      AppComponent,
      HomeComponent,
      ProductComponent,
      SearchComponent
   ]
})
export class AppModule { }
